/*    */ package eos.moe.dragoncore.mixins;
/*    */ 
/*    */ import eos.moe.dragoncore.interfaces.IEntity;
/*    */ import net.minecraft.entity.Entity;
/*    */ import org.spongepowered.asm.mixin.Mixin;
/*    */ import org.spongepowered.asm.mixin.Shadow;
/*    */ import org.spongepowered.asm.mixin.injection.At;
/*    */ import org.spongepowered.asm.mixin.injection.Inject;
/*    */ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
/*    */ 
/*    */ 
/*    */ @Mixin({Entity.class})
/*    */ public class MixinEntity
/*    */   implements IEntity
/*    */ {
/*    */   @Shadow
/*    */   public double field_70169_q;
/*    */   @Shadow
/*    */   public double field_70167_r;
/*    */   @Shadow
/*    */   public double field_70166_s;
/*    */   @Shadow
/*    */   public float field_70131_O;
/*    */   private double prevPrevPosX;
/*    */   private double prevPrevPosY;
/*    */   private double prevPrevPosZ;
/*    */   
/*    */   @Inject(method = {"onEntityUpdate"}, at = {@At("HEAD")})
/*    */   public void onUpdate(CallbackInfo callbackInfo) {
/* 30 */     this.prevPrevPosX = this.field_70169_q;
/* 31 */     this.prevPrevPosY = this.field_70167_r;
/* 32 */     this.prevPrevPosZ = this.field_70166_s;
/*    */   }
/*    */ 
/*    */   
/*    */   public double getPrevPrevPosX() {
/* 37 */     return this.prevPrevPosX;
/*    */   }
/*    */ 
/*    */   
/*    */   public double getPrevPrevPosY() {
/* 42 */     return this.prevPrevPosY;
/*    */   }
/*    */ 
/*    */   
/*    */   public double getPrevPrevPosZ() {
/* 47 */     return this.prevPrevPosZ;
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\mixins\MixinEntity.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */